﻿using UnityEngine;
using System.Collections;
using LuaInterface;

public class TestThread : MonoBehaviour
{
    string script =
        @"
            function hello() print('hello') end
        ";

	void Start ()
    {
        LuaState lua = new LuaState();
        lua.Start();

        lua.DoString(script, "TestThread.cs");
        lua.GetFunction("hello");
    }
		
	void Update ()
    {
	
	}
}
